Contacts

In simplest terms, a contact is a kind of window. The behavior of a window object, which is represented in CLX as an instance of the window data type, is completely specified by the X Window System protocol. In CLUE, the class of contact objects is defined to be a subclass of the class of window objects3. Thus, all CLX window functions apply to any contact.

\framebox[5.5in]{
\hspace*{\fill}
{\bf Note}
\hspace*{\fill}
\parbox[t]{4.5in}{
...
... argument can be called with a {\tt
contact} argument instead.}
\hspace*{\fill}}

As a window, a contact inherits several basic attributes, such as a rectangular geometry (given by the position of its upper left corner, its width, and its height in pixel coordinates), a border width and border color/pattern, a depth (i.e. bits per pixel), and a background color/pattern. Contacts possess a few additional attributes (or slots) not shared by ordinary windows.



Subsections